package com.liaojp.cmsweb.service;

import com.liaojp.cmsweb.Result.AjaxResult;
import com.liaojp.cmsweb.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liaojp.cmsweb.httpParam.user.LoginParam;
import com.liaojp.cmsweb.httpParam.user.RegisterParam;

/**
* @author 廖家鹏
* @description 针对表【user】的数据库操作Service
* @createDate 2025-04-24 22:10:57
*/
public interface UserService extends IService<User> {
    /**
     * 登录
     * @param loginParam 登录参数
     * @return AjaxResult
     */
    AjaxResult login(LoginParam loginParam);

    /**
     * 注册
     * @param registerParam 注册参数
     * @return AjaxResult
     */
    AjaxResult register(RegisterParam registerParam);
}
